﻿function ExampleAppPart1(appPartData) {
    APCFAppPartInstance.apply(this, arguments);
}

ExampleAppPart1.prototype = Object.create(APCFAppPartInstance.prototype);
ExampleAppPart1.prototype.initialise = function () {
    //alert('tile app initialise');
}
ExampleAppPart1.prototype.load = function () {
    //alert('tile app load');
}
ExampleAppPart1.prototype.render = function () {
    //alert('tile app render');

    var div1 = document.createElement("div");
    div1.innerHTML = "<a href='http://www.google.com'>" + this.appPartData.text + "</a>";
    this.divRoot.appendChild(div1);
    div1.style.minHeight = this.appPartData.width + "px";
    div1.style.minWidth = this.appPartData.height + "px";

}
